/**
 * Created by moon on 2016/12/22.
 */
define(["business/services/constant"],function(constant){
	var loginhost = constant.config.BASEURL_USER;// elink_user
	var loginurl = constant.config.CONSTANT_PERSON;// person
	var checkphoneurl = constant.config.CONSTANT_USER;// user
	
	
 
	

	return{
		//个人登录第一步请求验证码
		somefn:function(requestion) {
			return constant.httpSend(loginhost,loginurl,requestion);
		},
		somefns:function(requestion) {
			return constant.httpSend(loginhost,checkphoneurl,requestion);
		},
		//个人登录
		loginHttpService:function(requestion) {
			return constant.httpSend( loginhost, loginurl, requestion);			
		},
		getmsgHttpService:function(requestion) {
			return constant.httpSend( loginhost, loginurl, requestion);			
		},
		getregHttpService:function(requestion) {
			return constant.httpSend( loginhost, loginurl, requestion);
		},
		checkphoneHttpService:function(requestion) {
			return constant.httpSend( loginhost, checkphoneurl, requestion);
		},
		checkemailHttpService:function(requestion) {
			return constant.httpSend( loginhost, checkphoneurl, requestion);
		},
		//忘记密码等流程
		checkemlcodeHttpService:function(requestion) {
			return constant.httpSend( loginhost, checkphoneurl, requestion);
		},
		commitnewpswdHttpService:function(requestion) {
			return constant.httpSend( loginhost, checkphoneurl, requestion);
		},
		getemlcodeHttpService:function(requestion) {
			return constant.httpSend( loginhost, checkphoneurl, requestion);
		}
		
		
	}
});